package search;

import treeview.container.HorizontalContainer;
import treeview.container.VerticalContainer;
import treeview.table.TableView;
import treeview.unit.AbstractUnitView;
import treeview.unit.ImageView;
import treeview.unit.TextView;

/**
 * Created by Pavel Nikolaev
 */
public interface Visitor {
    public void visitTextView(TextView view);
    public void visitImageView(ImageView view);
    public void visitUnitView(AbstractUnitView view);
    public boolean visitHorizontalContainer(HorizontalContainer view);
    public boolean visitVerticalContainer(VerticalContainer view);
    public boolean visitTableView(TableView view);
}
